package com.atguigu.pamentdemo.service;

import com.atguigu.pamentdemo.entity.OrderInfo;

import java.util.HashMap;
import java.util.Map;

public interface WxPayService {
    Map<String, Object> nativePay(Long productId) throws Exception;

    void processOrder(HashMap<String, Object> bodyMap);

    void cancelOrder(String orderNo);

    void checkOrderStatus(String orderNo);

    String queryOrder(String orderNo) throws Exception;

    void refund(String orderNo, String reason);

    String queryRefund(String refundNo);

    void checkRefundStatus(String refundNo);

    void processRefund(HashMap<String, Object> bodyMap) throws Exception;

    String queryBill(String billDate, String type);

    String downloadBill(String billDate, String type);
}
